package com.dove.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dove.controller.Dto.UserDto;
import com.dove.entity.User;

public interface IUserService extends IService<User> {

    IPage<User> getPage(Integer current, Integer size);
    //条件查询
    IPage<User> getPage(Integer current, Integer size, User user);

    UserDto login(UserDto userDto);

    Boolean register(UserDto userDto);

    Page<User> myFindPage(Page<User> page, String username, String nickname, String address);
}
